package cn.wen.yinxiu.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @ClassName: AttrEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-22 09:55:17
 * @Description: 商品属性的实体类
 */
@Data
@TableName("y_attr")
public class AttrEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 属性id
	 */
	@TableId(value = "attrId", type = IdType.AUTO)
	private Long attrId;
	/**
	 * 商品ID
	 */
	private Long skuId;
	/**
	 * 属性名
	 */
	private String attrName;
	/**
	 * 可选值列表[用逗号分隔]
	 */
	private String value;
	/**
	 * 启用状态[0 - 禁用，1 - 启用]
	 */
	private Integer status;

}
